package buttons;

import java.awt.event.ActionEvent;
import view.Frame;
import view.commands.Upload;

@SuppressWarnings("serial")
public class BrowseImage extends AbstractCommandButton<Frame>
{
    public BrowseImage(String label)
    {
        super(label, false);
    }

    @Override
    public void actionPerformed(ActionEvent e, Frame target)
    {
        Upload uploader = new Upload();
        uploader.execute(target);
    }
}
